/**   
* @Title: PubDeviceShortCodeServiceImpl.java 
* @Package com.leesche.zcsp.node.web.service.impl 
* @Description:() 
* @author dennies yang
* @date 2016年9月29日 下午2:34:16 
* @version V1.0   
*/
package com.leesche.zcsp.node.web.service.impl;

import com.leesche.zcsp.node.web.dao.PubDeviceShortCodeDao;
import com.leesche.zcsp.node.web.model.PubDeviceShortCode;
import com.leesche.zcsp.node.web.model.PubDeviceShortCodeCriteria;
import com.leesche.zcsp.node.web.service.PubDeviceShortCodeService;
import com.leesche.zcsp.node.web.service.impl.data.read.PubDeviceShortCodeDto;
import com.leesche.zcsp.node.web.service.impl.data.read.QueryPubDeviceShortCodeCondition;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**   
* @Title: PubDeviceShortCodeServiceImpl.java 
* @Package com.leesche.zcsp.node.web.service.impl 
* @Description:() 
* @author dennies yang
* @date 2016年9月29日 下午2:34:16 
* @version V1.0   
*/
@Service
@Transactional
public class PubDeviceShortCodeServiceImpl extends
BaseServiceImpl<PubDeviceShortCode, PubDeviceShortCodeCriteria, PubDeviceShortCodeDto, QueryPubDeviceShortCodeCondition, Long>
implements PubDeviceShortCodeService {
	@Autowired
	private PubDeviceShortCodeDao pubDeviceShortCodeDao;

	@Autowired
	public void setBaseDao(PubDeviceShortCodeDao pubDeviceShortCodeDao) {
		super.setBaseDao(pubDeviceShortCodeDao);
	}

	@Override
	public int addDeviceShortCodes(List<PubDeviceShortCode> list)
	{
		return pubDeviceShortCodeDao.insertBatch(list);
	}
}
